package extendstest;

public class Student extends Person {
    public int grade;


    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    //重写
    @Override
    public void setAge(int age) {
        super.setAge(age);
    }
}
